package com.ruoyi.system.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;



/**
 * 会员订单视图对象 p_vip_order
 *
 * @author ruoyi
 * @date 2022-09-02
 */
@Data
@ApiModel("会员订单视图对象")
@ExcelIgnoreUnannotated
public class PVipOrderVo {

    private static final long serialVersionUID = 1L;

    /**
     * 订单号
     */
    @ExcelProperty(value = "订单号")
    @ApiModelProperty("订单号")
    private Long vipOrderId;

    /**
     * 支付金额
     */
    @ExcelProperty(value = "支付金额")
    @ApiModelProperty("支付金额")
    private BigDecimal payPrice;

    /**
     * 支付状态 0 待付款 1 已付款
     */
    @ExcelProperty(value = "支付状态 0 待付款 1 已付款", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "pay_type")
    @ApiModelProperty("支付状态 0 待付款 1 已付款")
    private String status;

    /**
     * 购买的会员等级
     */
    @ExcelProperty(value = "购买的会员等级", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_vip_level")
    @ApiModelProperty("购买的会员等级")
    private String vipValue;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    @ApiModelProperty("用户ID")
    private Long userId;

    /**
     * 下单时间
     */
    @ExcelProperty(value = "下单时间")
    @ApiModelProperty("下单时间")
    private Date createTime;


}
